<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <style>
        html,
        body,
        #viewDiv {
            padding: 0;
            margin: 0;
            height: 100%;
            width: 100%;
        }
    </style>

    <link rel="stylesheet" href="https://js.arcgis.com/4.15/esri/themes/light/main.css">

    <script src="https://js.arcgis.com/4.15/"></script>

    <script>
        require([

            "esri/Map",
            "esri/views/SceneView",
            "esri/widgets/BasemapGallery"

        ], function(Map, SceneView, BasemapGallery) {
            var map = new Map({
                basemap: "topo-vector"
            });

            var view = new SceneView({
                container: "viewDiv",
                map: map,
                center: [139.68, 35.68],
                zoom: 3
            });

            var basemapGallery = new BasemapGallery({
                view: view
            });

            // Add the widget to the top-right corner of the view
            view.ui.add(basemapGallery, {
                position: "top-right"
            });
        });
    </script>

    <script>
        require([
            "esri/Map",
            "esri/views/SceneView"
        ], function(Map, SceneView) {
            var map = new Map({
                basemap: "topo-vector",
                ground: "worid-elevation" //show elevation
            });
            var view = new SceneView({
                container: "viewDiv",
                map: map,
                camera: {
                    position: {
                        x: -118.80800,
                        y: 33.96100,
                        z: 25000 //altitude in meters
                    },
                    tilt: 65 //perspective in degrees
                }
            });
        });
    </script>


</head>

<body>
    <div id="viewDiv"></div>

</body>

</html>